package com.example.test427;

import android.content.Context;
import android.os.Bundle;
import android.os.CancellationSignal;
import android.os.ParcelFileDescriptor;
import android.print.PageRange;
import android.print.PrintAttributes;
import android.print.PrintDocumentAdapter;

/**
 * @author jie
 * @date 2021/5/13 -14:14
 */
public class MyPrintDocumentAdapter extends PrintDocumentAdapter {
    public MyPrintDocumentAdapter(Context applicationContext) {
    }

    @Override
    public void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, LayoutResultCallback callback, Bundle extras) {
    }

    @Override
    public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, CancellationSignal cancellationSignal, WriteResultCallback callback) {

    }

    @Override
    public void onStart() {
        super.onStart();

    }

    @Override
    public void onFinish() {
        super.onFinish();
    }

}
